var a = 1


function b(a){
    console.log(a)
    var a = 7;
    var c= 2;
    console.log(a)
}

function c(){
    var a = 2
    function d() {
        a++
        console.log(a)
    }
    return d
}

function fn(i) {
    console.log(i)
}

for(var i = 0;i<3;i++)
{
    fn(i)
}

function a(a,b,c,e,f,g,h){
    console.log(a)
    console.log(b)
    console.log(c)
    console.log(d)
    console.log(e)
    console.log(f)
}

b(a)
c()()